package org.itest.tscg.consumer.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.itest.tscg.api.service.FooRestApi;

/**
 * @author sunxinhe
 */
@RestController
public class ClientController {

    @Autowired
    private FooRestApi fooRestApi;

    @GetMapping("/client/")
    public String client() {
        return fooRestApi.success();
    }
}
